package com.designPattern.decorator;

/**
 * <p>Title: </p>
 * <p>Description: </p>
 * <p>Copyright: Copyright (c) 2016</p>
 * <p>Company: Sunshine Insurance Group Co., Ltd.</p>
 *
 * @author lbb
 * @version 1.0
 * 修改记录：
 * 修改序号，修改日期，修改人，修改内容
 */
public class Test {


    public static void main(String[] args) {
        Animal skill = new Cat();
        skill = new ClimbTreeSkill(skill);
        skill = new CatchfishSkills(skill);

        skill.eat();
    }
}
